home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Magnum One
/
Magnum One (Mid-American Digital) (Disc Manufacturing).iso
/
d19
/
gw15pak.arc
/
QGWAR101.ARC
/
QGWAR.DOC
< prev
next >
Wrap
Text File
|
1989-12-18
|
4KB
|
94 lines
QGwar v1.01
QuickBBS Interface for Global War
Copyright 1989, Andrew J. Fletcher
This is a simple program that I wrote to make running Global War
a little easier, by not requiring batch files or the passing of batch
variables. This program will only work as a Type 7 exit from QuickBBS.
I have inluded extensive error checking so it is impossible to set this
up incorrectly (unless you really try hard). This program will take
less memory then using the standard QuickBBS *C /C and then calling a
bat file and you can place the Global War files in any directory on the
current drive.
QGwar is compilied with Microsoft C v5.1 and comes in two flavors.
They are QGwar!.exe which is the 80286/386 version and then a generic
version QGwar.exe for all others. The syntax for QGwar is simple and
easy to use:
QGwar.exe [pathname] [Global War Option] [baud] [port] [time]
[first name] [last name]
Where -
pathname.... Complete pathname for the location of the Global
War files. (Example: C:\QBBS\DOORS\WAR\) Be
sure and include an trailing backslash!
Global War
Option...... For QuickBBS sysops this will be the /C Option.
See the Global War docs for more information.
Baud........ The baud rate of the caller (*B) or for Locked baud
systems you can place the locked baud rate.
(i.e. 19200)
Port........ The com port (1=COM1)
Time........ BBS time remaining (*T)
First Name.. You can use the QuickBBS *F or you can place a
Name in its place.
Last Name... You can use the QuickBBS *L or you can place a
Name in its place.
QGwar.exe c:\qbbs\doors\war\ /C *B 1 *T *F *L
Locked baud sample Type 7 Exit would be:
QGwar.exe c:\qbbs\doors\war\ /C 19200 1 *T *F *L
(In the locked baud situation the sysop would need to set up a local
exit if he or she desired to run Global War locally, due to the
requirement of "hard coding" the baud rate as opposed to using the
QuickBBS *B)
Local baud sample Type 7 exit would be:
QGwar.exe c:\qbbs\doors\war\ /C 0 1 *T *F *L
With error checking in mind. Global War will exit with the following
error levels during program execution. If you are so inclined you can
capture these error levels in a batch file.
Exit Errorlevel 0 - Normal Exit
Exit Errorlevel 1 - Invalid syntax used
Exit Errorlevel 2 - Unable to store current directory
Exit Errorlevel 3 - Invalid or non existant pathname
Exit Errorlevel 4 - Unable to restore working directory
If you have any questions or ideas you can contact me on my BBS
via FidoNet (1:271/205) or you can call the Diplomat BBS at
(804) 872-7859. I do not require any payment for use of this program.
If you have any ideas for improvements, or you find a bug (gasp) please
contact me and let me know.
Program History:
v1.00 Initial release and beta test version.
v1.01 Complied under Microsoft C v5.1 (saved 4Kb) and added/corrected
spelling errors and error corrections.